package com.itheima.marking_system.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "试卷实体类")
@TableName("paper")
public class PaperEntity {
    @ApiModelProperty(value = "试卷ID", required = true)
    private Long id;
    @ApiModelProperty(value = "试卷名称", required = true)
    private String name;
    @ApiModelProperty(value = "试卷得分", required = true)
    private Integer score;
    @ApiModelProperty(value = "考试ID", required = true)
    private Long examId;
    @ApiModelProperty(value = "模板ID", required = true)
    private Long templateId;
}
